package com.zbkj.crmeb.payment.service;

import java.math.BigDecimal;

import com.zbkj.crmeb.payment.vo.wechat.CreateOrderResponseVo;
import com.zbkj.crmeb.store.model.StoreOrder;

/**
 * <p>
 * 订单支付
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-04-10
 */
public interface OrderPayService{
	
    CreateOrderResponseVo payOrder(Integer orderId, String fromType, String clientIp);
    
    CreateOrderResponseVo payOrder2(String orderId, BigDecimal price);

    boolean success(String orderId, Integer userId, String payType ,String outOrderId, String backParam);

    void afterPaySuccess(StoreOrder storeOrder);

    void afterPaySuccessTest(Integer id);
    
}
